package com.example.william.globe;

import android.graphics.Canvas;
import android.graphics.Paint;

public abstract class GlobeObject {

	private float xPosition, yPosition;
	
	public float getXPosition(){
		return xPosition;
	}
	
	public float getYPosition(){
		return yPosition;
	}
	
	public void setXPosition(float newX){
		xPosition = newX;
	}
	
	public void setYPosition(float newY){
		yPosition = newY;
	}
	
	abstract void draw(Paint p, Canvas c);
	
	void move(float newX, float newY){
		setXPosition(newX);
		setYPosition(newY);
		
		
	}
}
